package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.entity.system.SysMenu;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysMenuMapper {
    List<SysMenu> selectNodes();

    void insertSysMenu(SysMenu sysMenu);

    void updateSysMenu(SysMenu sysMenu);

    void removeSysMenuById(Long menuId);

    List<SysMenu> selectMenusByUserId(Long userId);
}
